package com.tian.print.login.contract;

import com.tian.print.bean.UserInfo;
import com.tian.print.http.error.ApiException;

/**
 * Description:
 * <br>Author：tian
 * <br>Time: 2019/5/24 15:34
 */
public interface ILoginContract {

    interface ILoginView {
        void onLoginSuceess(UserInfo userInfo);
        void onLoginError(ApiException e);
    }

    interface ILoginPresenter {
        void login(String userName, String password);
    }

}
